<?php
namespace Sifast\ProjectBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Sifast\ProjectBundle\Form\Type\CongeType;

class CongeType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)

{
$builder
->add('Date_debut_conge')
->add('Date_fin_conge')
->add('Cause_conge')
->add('Solde_courant') 
->add('Solde_annee_prec')
->add('Maladie')
->add('Evenement_familier')
->add('Conge_non_paye');
}

 

public function getDefaultOptions(array $options)

{
return array(
'data_class' => 'Sifast\ProjectBundle\Entity\Conge',

);

}
public function getName()
{
return 'Conge';

}

}

